#include "mohrgui.h"

MohrGui::MohrGui(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::MohrGui) 
{
	ui->setupUi(this);
}
//-------------------------------------------------------------------------

//-------------------------------------------------------------------------
MohrGui::~MohrGui()
{
   delete ui;
}
//-------------------------------------------------------------------------

//-------------------------------------------------------------------------
void
MohrGui::setMohrGui(MohrGui* _mohrgui)
{
}
//-------------------------------------------------------------------------

//-------------------------------------------------------------------------
void 
MohrGui::setHedController(HEDController* _controller)
{
	this->ui->widget->getFaceselected(_controller);
}
//-------------------------------------------------------------------------

//-------------------------------------------------------------------------
void
MohrGui::getmoment(double& _Ixc,double& _Iyc, double& _Ixyc,double& _xc, double& _yc)
{
	this->ui->widget->getmoment(_Ixc,_Iyc,_Ixyc,_xc,_yc);
}